package rim;

import datatypes.r2.basic.ED;
import datatypes.r2.basic.II;

/**
 * Definition of Attachment:
 * 
 * An addressable data block which can be referred to from the interior of the
 * message.
 * 
 * 一个可寻址的数据块可以被称为来自内部的消息。
 * 
 * 
 * UsageNotes:
 * 
 * Attachments are referred to from the message body using the reference
 * functionality of the ED data type.
 * 
 * 附件被称为消息使用海关数据类型的参考功能的身体。
 * 
 * 
 * DesignComments:
 * 
 * Open issue requires more detail.
 * 
 * 开放的问题，需要更多的细节。
 * 
 * 
 * OpenIssue:
 * 
 * Proper use of this class (Attachment) requires an extension of the
 * referencing mechanism of the ED data type.
 * 
 * 这一类的正确使用（附件）要求海关数据类型的引用机制的延伸。
 * 
 * 
 * @author Obama
 * 
 */
public class Attachment extends InfrastructureRoot {

	private static final long serialVersionUID = 1L;
	/**
	 * Definition: An identifier for the attachment referenced by an ED
	 * attribute contained elsewhere in the interaction.
	 * 
	 * 其他地方所载的互动教育署属性引用附件的标识符。
	 */
	private II id;
	/**
	 * Definition: The data block that constitutes the attachment
	 * 
	 * 数据块构成附件
	 */
	private ED text;

	private Transmission transmission;

	public II getId() {
		return id;
	}

	public void setId(II id) {
		this.id = id;
	}

	public ED getText() {
		return text;
	}

	public void setText(ED text) {
		this.text = text;
	}

	public Transmission getTransmission() {
		return transmission;
	}

	public void setTransmission(Transmission transmission) {
		this.transmission = transmission;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
